import React from 'react'
export async function apiRoleList(params = {}){
    return await React.$post('management/sysStoreRole/list', params);
}
//增加角色菜单关系
export async function apiRoleToMenu(params) {
    return await React.$post('management/sysStoreRole/updateStoreMenusByRoleId', params)
}
//获取角色菜单
export async function apiRoleMenuByRoleId(params) {
    return await React.$post('management/sysStoreRole/getStoreMenuIdentListByUserId', params)
}
//获取列表带权限
export async function apiRoleWithIdent(params = {}){
    return await React.$post('management/sysStoreMenu/listWithIdent', params);
}
